package com.yy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName register
 */
@TableName(value ="register")
@Data
public class Register implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer registerid;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private Integer age;

    /**
     * 
     */
    private String sex;

    /**
     * 
     */
    private Integer department;

    /**
     * 
     */
    private Integer doctor;

    /**
     * 
     */
    private String diagnose;

    /**
     * 
     */
    private String address;

    /**
     * 
     */
    private String phone;

    /**
     * 
     */
    private String idcard;

    /**
     * 
     */
    private Date registerdate;

    /**
     * 
     */
    private Integer bednum;

    /**
     * 
     */
    private String operator;

    /**
     * 
     */
    private Double money;

    /**
     * 
     */
    private Integer state;

    /**
     * 
     */
    private Date enddate;

    /**
     * 
     */
    private Double price;

    /**
     * 
     */
    private String discount;

    /**
     * 
     */
    private Date zhuan;

    @TableField(exist = false)
    private Double bedid;//床位

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}